import config from './config/public'
import axios from '@/utils/request'
import { getLocal } from '@/utils/local.js'

// 获取轮播图数据
export const getSlider = () => axios.get(config.getSlider);
export const getCaptcha = () => axios.get(config.getCaptcha, {
  params: {
    uid: getLocal('uuid')
  }
});